package com.sojoys.artifact.factory.json;

import com.alibaba.fastjson.JSON;

public class FastJson implements IJson {

	@Override
	public String toJson(Object object) {
		return JSON.toJSONString(object);
	}

	@Override
	public <T> T parse(String jsonString, Class<T> type) {
		return JSON.parseObject(jsonString, type);
	}

}
